package com.uni.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;


@Data
@NoArgsConstructor
@AllArgsConstructor
public class User implements Serializable {
    private Long id;

    private String code;

    private String username;

    private String password;

    private Integer gender;

    private Date birthday;

    private String phone;

    private String address;

    private String pwd;

    private String salt;

    private String img;
    // User数据表中没有的字段
    private Role role;
    private String birthdayString;
    private Address addressDetail;
    private static final long serialVersionUID = 1L;
}